using System;

namespace Phoenix.Framework
{
    public class InvokeFailedEventArgs : EventArgs
    {
        public InvokeFailedEventArgs(AggregateException exception, ControllerAction controllerAction)
        {
            AggregateException = exception;
            ControllerAction = controllerAction;
        }

        public AggregateException AggregateException { get; private set; }
        public ControllerAction ControllerAction { get; private set; }
    }
}